export default function directivesPrice(app) {
    app.directive("price", {
        mounted(el, bindings) {
            const defaultText = el.textContent
            let price = bindings.value
            if (!price) {
                price="￥"
            }
            el.textContent=price+defaultText
        }
    })
}